﻿using iMES.Core.BaseProvider;
using iMES.Core.Extensions.AutofacManager;
using iMES.Entity.DomainModels;
using System;
using System.Collections.Generic;
using System.Text;
using YUN.ProductionManage.IRepositories;
using YUN.ProductionManage.IServices;

namespace YUN.ProductionManage.Services
{
    public partial class Product_ProductPlanningService : ServiceBase<ProductionPlanning, IProduct_ProductPlanningRepository>
   , IProduct_ProductPlanningService, IDependency
    {
        public Product_ProductPlanningService(IProduct_ProductPlanningRepository repository, Ware.IRepositroies.IWare_ProductRepository productrepository)
        : base(repository)
        {
            Init(repository);
            _productrepository = productrepository;
        }
        public static IProduct_ProductPlanningService Instance
        {
            get { return AutofacContainerModule.GetService<IProduct_ProductPlanningService>(); }
        }
    }
}
